home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / shrom22d.zip / SHROOM.DOC < prev   
Text File  |  1993-01-13  |  24KB  |  547 lines

  1.  
  2.     shroom.doc    - readme file for Shell Room Utility
  3.  
  4.     Copyright (C) Davis Augustine 1990-1992.  All rights reserved.
  5.  
  6.     Last Modified:    12jan93.  Version 2.2d
  7.  
  8. Files
  9. -----
  10.     SHROOM.COM    - The program.
  11.     SHROOM.DOC    - This documentation file.
  12.  
  13. Description
  14. -----------
  15.     SHROOM is a utility that gives a DOS application's shells more
  16.     room.  It does this by intercepting the shell operation,
  17.     swapping out the application program, freeing up the memory,
  18.     and then performing the shell operation.  It also intercepts
  19.     the exit from the shell, so that it can swap the application
  20.     back in before returning to it.  The program is none the wiser.
  21.  
  22. Features
  23. --------
  24.      o    Easy to use.
  25.      o    Detects swap file overflow (disk full) and asks whether you want
  26.     to abort back to the application or continue with a partial swap.
  27.      o    Detects TSR loading and unloading during the shell.  Frees
  28.     the TSR's resources and puts a warning message.
  29.      o    Small resident size (about 6k).  Frees nearly all of the memory.
  30.      o    Allows you to increase COMMAND.COM's environment size.
  31.      o    Works with all major DOS applications.
  32.      o    Fully user specifiable swap file path.    Ie., you can put
  33.     it on a virtual disk.
  34.      o    Swaps allocated memory only, avoiding unnecessary writes
  35.     and reads of free memory.
  36.      o    Intelligent command line parsing.  Searches DOS's PATH
  37.     for program to load, allows passing of args to the program.
  38.     Automatically tries .COM and .EXE extensions if not
  39.     specified by user.
  40.      o    Verbose mode for inquisitive users.
  41.      o    Quiet mode for apathetic users.
  42.      o    Uses DOS "make temp file" facility to prevent network clashes.
  43.  
  44.  
  45. Installation and Operation
  46. --------------------------
  47.      o    To install, just copy SHROOM.COM into a directory in your PATH
  48.     or the directory from which you will run the application.
  49.      o    For help, use the question mark switch, eg. "shroom -?".
  50.      o    To load, just type the normal command used to invoke the
  51.     application, with "shroom " prepended.  Eg, if the application
  52.     is called "edit", then you would use the command "shroom edit".
  53.     Arguments are passed to the application just as before, so eg.
  54.     you can say "shroom edit letter.doc".
  55.      o    To shell out, use whatever shell command is provided by the
  56.     application.  You will see a message from Shroom saying that it
  57.     is swapping the program out, after which the normal shell prompt
  58.     and actions will appear.  When you exit the shell, you will
  59.     again see the "swapping" message from Shroom and then be
  60.     deposited back into the application as usual.
  61.  
  62.  
  63. Help Screen - Displayed by the "-?" switch:
  64. -------------------------------------------
  65.  
  66. Usage:  shroom  [Switches]  [@SwitchFile]  Program  [Args]
  67.        -?h : Print this help message.
  68.         -L : Display shareware license.
  69.         -n : Display program notes (more detailed help).
  70.         -p : Proceed (without asking) with partial swap if disk full.
  71.         -q : Quiet mode - display error messages only.
  72.         -v : Verbose mode - provide running commentary.
  73.         -w : Netware workaround - prevent Novell from closing files.
  74.         -x : Exclude targets (don't swap if shell is in target list).
  75.       -e # : Set ERRORLEVEL returned if unable to load prog (default = 254).
  76.       -m # : Swap a maximum of # kbytes.
  77.    -o File : Specify file to direct Shroom output messages to.
  78.    -s Path : Specify DRIVE:DIR in which to create swap file.
  79.    -t List : Specify which shell programs cause swapping.
  80.       -z # : Specify environment size for COMMAND.COM.
  81. SwitchFile can hold switches that don't fit on the DOS command line.
  82. Program and Args are your application and the command line passed to it.
  83.  
  84. Example:   shroom  -p  -e 99  -s E:\  -z 800  wp  letter
  85.  
  86.  
  87. Notes Screen - Displayed by the "-n" switch:
  88. --------------------------------------------
  89.  
  90.           ********** NOTES **********
  91.  
  92. NOTATION:
  93.     'k' is used by Shroom as decimal 1000, not 1024.  E.g., "Swapping 4k"
  94. means swapping 4000 bytes, not 4096 bytes.
  95.  
  96.  
  97. PROGRAM LOADING:
  98.     The application must be a .EXE or .COM file.  You can leave off the
  99. file extension and Shroom will try to find a matching .COM or .EXE file.
  100. Shroom searches for the application program first in the current directory,
  101. then in Shroom's home directory, and finally in the directories of the
  102. PATH environment string.
  103.  
  104.  
  105. SHROOM SWITCHES AND ARGUMENTS:
  106.     All text surrounded by square brackets, as in "[-hnv]", is optional.
  107. Switches can be given in any order, and can be in upper or lower case,
  108. and may be separated by spaces (or not). The space between a switch and
  109. its argument is optional, ie. you can say "-z800" or "-z 800".
  110. Although all our examples use dashes as the switch character, a slash
  111. can also be used: e.g. "Shroom /v /p ...".
  112.  
  113.  
  114. EXTENDING THE COMMAND LINE WITH @SWITCHFILE:
  115.     The DOS command line is normally limited to a paltry 127 characters.
  116. If that's not enough room to say what you want to say, then you can use
  117. the "switch" file to hold additional switches and arguments for Shroom.
  118. Shroom reads the switch file just as if it were part of the command line.
  119.  
  120.     For example,
  121.       If file FOO contains:  -t shell1, shell2 -p
  122.       Then the DOS command:  shroom -v @foo yourprog
  123.           Is equivalent to:  shroom -v -t shell1, shell2 -p yourprog
  124.  
  125.     The switch file can contain multiple lines.  End-of-lines are treated
  126. as space characters.  You can use multiple switch files on the command
  127. line (eg Shroom @sf1 @sf2) but you cannot call one switch file from
  128. within another (ie, no nesting).
  129.  
  130.     Please note: This feature is for extending Shroom's command line, not
  131. your application's.  Unfortunately the application program's command
  132. line is still limited to 127 or so characters (unless it supports its
  133. own method of getting around the limitation).
  134.  
  135.  
  136. NOVELL NETWARE:
  137.     If you are using Novell Netware, then you may also need to use the "-w"
  138. switch with Shroom, as in "shroom -w prog".  Many versions of Netware
  139. seem to close files unexpectedly if they see that there is free memory
  140. where there used to be a program.  When Shroom swaps out the appli-
  141. cation, Netware notices the memory is free and closes the network files
  142. that that application had open.  The "-w" switch causes Shroom to make
  143. a special call to Netware that disables the "file cleanup feature"
  144. during shell operations, thus keeping your network files open.
  145.  
  146.  
  147. ENVIRONMENT SIZE:
  148.     Many people have run into the following problem: you type the command
  149. "SET MYVAR=WHATEVER" and get back the message "Out of environment space."
  150. This occurs when a TSR is loaded or while a .BAT file is running. You get
  151. around this by adding a line like "SHELL=C:\COMMAND.COM /E:2000" to your
  152. CONFIG.SYS file, thus increasing the minimum environment space to 2000
  153. bytes. However, when you shell out from an application and then run a
  154. .BAT file, you find that the environment size has again been restricted
  155. and the CONFIG.SYS line has no effect.
  156.  
  157.     What you need is the amazing new "-z #" switch from Shroom. It causes
  158. Shroom to append the string " /E:#" to COMMAND.COM's command line, thus
  159. setting the desired minimum environment space for the new shell. Note
  160. that in DOS 3.0, # is the size in paragraphs. In later versions it is
  161. in bytes.
  162.  
  163.  
  164. REDIRECTING STDOUT:
  165.     Unless you give the -q switch, Shroom puts out a "Swapping..." message when
  166. shells occur.  If you give the -v switch, Shroom puts out even more lines.
  167. By default, both Shroom's output and the application's will go to the screen.
  168.  
  169.     If you say "Shroom -o File App" then the application's output still goes
  170. to the screen but Shroom sends its output to the specified file.  If you say
  171. "Shroom App > File" then both shroom and the application will send their output
  172. to the specified File.  If you want Shroom's output to go to the screen and
  173. the app's to a file, you can say "Shroom -o CON App > File".
  174.  
  175.     Note: with the "-o File" switch, if the file already exists then Shroom's
  176. output is appended to it.  We do not delete the previous file data.
  177.  
  178.  
  179. EXIT RETURN CODES:
  180.     Shroom exits immediately if it cannot load the application, returning
  181. an ERRORLEVEL of 254, unless you have changed the value with the "-e #"
  182. switch.  If it can load the application, then Shroom exits when the
  183. application does, and returns the application's exit code.
  184.  
  185.  
  186. SWAP FILE:
  187.     Shroom stores the application in a temporary swap file during the
  188. shell.  The swap file always has extension ".OOM".  The main part of
  189. its name is derived from the application name followed by some digits.
  190. E.g., "WP_000.OOM".  When you exit from the shell, Shroom reads the
  191. file back in and then deletes it.  Obviously, you should not delete,
  192. rename or otherwise modify the swap file while you are in the shell.
  193. If you crash the system while in the shell, then the swap file will
  194. still be there after you reboot (unless you were using a ram disk),
  195. and it is a good idea to delete it then.  The file is readonly so
  196. you will need to run attrib -r on it first.
  197.  
  198.     Shroom (among many other programs) looks for the environment variable
  199. TEMP at startup.  If TEMP is defined, then Shroom takes its definition
  200. as the default location of the swap file.  If TEMP is not defined, then
  201. the current directory becomes the default swap file location.  If you
  202. give the -s DRIVE:DIR switch on the command line, then that overrides
  203. the default location.  The swap file location is determined only once,
  204. during Shroom's startup.  Changing your current drive or directory while
  205. in the application or a shell will not affect where the swap file goes.
  206. Finally, if you have a ram disk with enough room, it makes an excellent
  207. home for the Shroom swap file.  It is fast and "self-deleting" if you
  208. crash the PC.
  209.  
  210.  
  211. SWAP FILE SIZE:
  212.     By default Shroom attempts to free up all memory "above" it in the
  213. DOS 640K.  Typical swap file sizes are 200K to 500K.  If the swap file
  214. is too big to fit on the disk, Shroom asks whether you want to perform
  215. the Shell operation anyway or cancel it.  Or you can use the "-p" option
  216. which tells Shroom to proceed with all Shell operations even if it can
  217. only do a partial swap.  If you want to limit the swap file size you
  218. can use the -m N switch.  For example, the command "shroom -m 125 prog"
  219. will limit the swap file size to 125000 bytes.
  220.  
  221.  
  222. TARGET LIST:
  223.     (Most people don't need to worry about this.)  When Shroom notices
  224. that a program is being shelled, it checks the name of that program
  225. against the target list. If it is in the list, then Shroom goes ahead
  226. and does its thing, swapping the application and freeing its memory.
  227. If the shelled program is not in the target list, then Shroom lets the
  228. program load and execute normally without any swapping.
  229.  
  230.     The purpose of the target list is to prevent unwanted swapping.  There
  231. are a few applications which "shell" their own overlays, and if Shroom
  232. swapped them then the overlays wouldn't have anyone to talk to!
  233.  
  234.     The default target list contains just your command shell, as defined
  235. by the COMSPEC environment string.  The -t switch is used to change the
  236. target list.  It takes a list of filenames separated by commas.  The file
  237. names are case independent and should not have drive or directory paths.
  238. The ~ (tilde) string can be used to refer to the COMSPEC definition.
  239. For example, "shroom -t ~, SUBPROG.EXE ..." would cause swappping on
  240. the default shell and when SUBPROG.EXE is spawned.  Typical shells are
  241. COMMAND.COM, 4DOS.COM, NDOS.COM and SH.EXE.
  242.  
  243.     Another special string is * (asterisk).  It is the wildcard target
  244. list, which causes Shroom to spawn on all shell operations.  It should
  245. be the only -t argument, as in: "shroom -p -t * -v ...".
  246.  
  247.     If the -x switch is given, then the target list is used to exclude
  248. rather than to include.  Eg, "shroom -x -t myshell.exe myprog" tells
  249. Shroom to swap on all shell programs except myshell.exe.
  250.  
  251.  
  252. APPLICATIONS THAT DO "BACKGROUND PROCESSING":
  253.     You may have a communications package which allows you to initiate a
  254. file transfer and then shell out to do other things.  This will probably
  255. not work if the package was Shroom'ed, because the application is actually
  256. unloaded from memory (and from the interrupt vector table) during the
  257. shell.  The background processing code will not be there anymore!
  258.  
  259.  
  260. ENVIRONMENTAL IMPACT:
  261.     Shroom is processor (8086, 286, 386, etc) independent.  It does not do
  262. any floating point.  It doesn't care about or use expanded or extended
  263. memory (a future version will be able to swap to extended mem).  It works
  264. with DOS Extender (e.g. Pharlap) based applications.  It may work in the
  265. Windows, Desqview and other pseudo or real multi-tasking environments, but
  266. you're basically on your own (caveat sharer).
  267.  
  268.  
  269. LOADING TSR'S INSIDE SHELLS:
  270.     In general, it is not safe to load a TSR while shelled out of an
  271. application, unless you delete the TSR before exiting the shell.  A
  272. variety of memory and interrupt handling problems can occur.  This
  273. is true even when you are not using Shroom.  If you are using Shroom,
  274. then any TSR's that were loaded during the shell will be automatically
  275. unloaded when you return to the application.  If a TSR was loaded "high",
  276. then it will stay loaded high but may cause problems if it uses any
  277. interrupts that the application uses.  Shroom displays the message:
  278. "WARNING: Interrupt ## used by application, changed in shell." if that
  279. occurs.
  280.  
  281.  
  282. UNLOADING TSR'S INSIDE SHELLS:
  283.     The sequence in mind is: You Load a TSR, enter an application,
  284. shell out, then unload the TSR.  The main danger in doing this is that
  285. unloading the TSR may restore interrupt vectors that the application
  286. had remapped.  The chain would be changed from TABLE->APP->TSR->SYSTEM
  287. to TABLE->SYSTEM, thus "cutting out" the app.  Fortunately, Shroom is
  288. able to detect when this occurs.  If you see the message "WARNING: 
  289. Interrupt ## used by application, changed in shell", then that is what
  290. happened.  You should probably save your changes to a new temp file if
  291. possible, and exit the application.  You're not guaranteed to be able
  292. to do this, so be sure to hold your breath.
  293.  
  294.     You don't really need to know what interrupts are or understand any
  295. of the above.  The bottom line is: don't play with TSR's when shelled
  296. out of an application.  If you can't resist the urge to, then at least
  297. Shroom will provide some insurance by catching and attempting to deal
  298. with conflicts when they occur.
  299.  
  300.  
  301. REPORTING BUGS:
  302.     If Shroom is not working as advertised for you, please tell me about
  303. it and I'll try to fix it.  Shroom problems are usually due to conflicts
  304. with other software packages.  You should send a problem report via
  305. regular or electronic mail with a description of the malfunction and
  306. a listing of your CONFIG.SYS and AUTOEXEC.BAT files.  Use the switches
  307. "-v -o FILE" to create a log of the malfunctioning session.  You may
  308. also be asked to send a copy of the misbehaving application so that I
  309. can debug with it.  (It usually takes more time to obtain the software
  310. and/or reproduce the bug than it does to fix it.)
  311.  
  312. Shareware License - Displayed by the "-L" switch:
  313. -------------------------------------------------
  314.           ********** SHROOM SHAREWARE LICENSE **********
  315.  
  316.  This is a copyrighted software work which is distributed as shareware.
  317.  Under this license agreement you are granted the right to use Shroom
  318.  on all machines and environments that it supports.  You are also
  319.  free (and encouraged) to pass copies of this shareware on to others
  320.  as long as it is not for payment and not bundled with anything else
  321.  that is for payment.
  322.  
  323.  The shareware registration fee is $25 for single users, $95 for groups
  324.  (up to 12 users).  To receive a diskette, please add $15 for shipping
  325.  and handling and specify diskette type.  Send check or money order to:
  326.  
  327.                Davis Augustine (Shroom Shareware)
  328.                P.O. Box 610
  329.                Sausalito, CA. 94966-0610
  330.  
  331.  Please include your name and postal or email address.  Also please mention
  332.  the Shroom version you are registering and how you obtained it.
  333.  
  334.  Commercial distribution licenses, source code and customized versions are
  335.  also available at reasonable rates.  Please write to the above address or
  336.  send me email at CompuServe id 72230,3053.  I would also appreciate any
  337.  comments, questions, suggestions or bug reports.  The latest Shroom release
  338.  can usually be found in CompuServe forums IBMSYS, lib 3 and TAPCIS, lib 2.
  339.  
  340.  
  341.         ----------------------
  342.         |  REVISION HISTORY  |
  343.         ----------------------
  344.  
  345.  
  346. Changes in v2.2d (12jan93)
  347. --------------------------
  348.     Add @file switch to allow command line extension.  (Thanks to
  349.     users RTI and ML).
  350.  
  351.     Add -x switch for excluding shell programs from the swap list.
  352.     (Thanks to user ML).
  353.  
  354.     Improve error detection when figuring what to swap (not a bug).
  355.  
  356. Changes in v2.1a (30aug92)
  357. --------------------------
  358.     Add help notes on stdout redirection.
  359.  
  360.     Say "swapping in" or "swapping out", not just "swapping".
  361.  
  362.     Have application (rather than Shroom) spawn the shell, if
  363.     possible.  Allows i/o redirection and exit code checking
  364.     by app to work better.
  365.  
  366. Changes in v2.0a (24jun92)
  367. --------------------------
  368.     Add -w switch for Novell Netware workaround.  Keeps Novell from
  369.     closing network files that were opened by the swapped application(s).
  370.  
  371.     Add -m N switch to set maximimum swap file size to Nk.  (Thanks
  372.     to user MGZ).
  373.  
  374.     Change 'k' to mean 1000x, not 1024x.
  375.  
  376.     On partial swap, show actual size swapped back in, not the
  377.     attempted size.
  378.  
  379. Changes in v1.9d (26may92)
  380. --------------------------
  381.     Change to new mailing address.  Lower diskette shipping charges
  382.     from $25 to $15.
  383.  
  384. Changes in v1.9c (7mar92)
  385. --------------------------
  386.     Change nonsensical swap file names to app_###.OOM.  (Thanks to
  387.     users ML and RMB).
  388.  
  389.     Make swap file readonly.  (Thanks to users JB, ML, et al).
  390.  
  391.     Show DOS error codes in decimal instead of hex.
  392.  
  393.  
  394. Changes in v1.8k (15dec91)
  395. -------------------------
  396.     Fix shroom's exit code when -v switch used.  Was always exiting
  397.     with ERRORLEVEL 0 when -v was given.  (Thanks to user B).
  398.  
  399.  
  400. Changes in v1.8j (30oct91)
  401. -------------------------
  402.     Allow tilde in target list to indicate COMSPEC file.
  403.  
  404.     Add -o F switch to redirect output to a file.  (Thanks to user RE).
  405.  
  406.  
  407. Changes in v1.8g (14sep91)
  408. -------------------------
  409.     Use TEMP environment string as default swap file location.
  410. Previously we used the current directory.  You still use the "-s PATH"
  411. switch to override the default.  (Thanks to users LC, ML).
  412.  
  413.     Start application with full path name, not just command name
  414. given (eg. C:\BIN\COOLPROG.EXE, not COOLPROG.EXE).  Makes Clipper
  415. work (was giving "overlay not found" error).  (Thanks to user LM).
  416.  
  417.     Make it work better with systems (such as MKS) where / (slash)
  418. is the path separator, instead of backslash.  Wasn't finding app if
  419. it was in same dir as Shroom.
  420.  
  421.     Detect and warn user when interrupts used by the application
  422. have been changed in the Shell, apparently by unloading a TSR.  Improve
  423. TSR detection and deciding when to unload it and when not.
  424.  
  425.     Changes to interrupt handling to work better with PC NFS and
  426. some other software.
  427.  
  428.     Fix application startup so it is not fooled by APPEND.  If a
  429. directory containing app was APPENDED, Shroom would think app was in
  430. the current directory.  (Thanks to user DG).
  431.  
  432.     Add sections on TSR's and reporting bugs to notes.
  433.  
  434.     Make -q suppress startup message, too.  (For user ML).
  435.  
  436.     Show command being passed to app, besides app name (unless -q).
  437.  
  438.     If verbose, show exit codes from shells and from app.  Also
  439. if verbose, show swap file location at startup.
  440.  
  441.  
  442. Changes in v1.7d (14aug91)
  443. --------------------------
  444.     Fix problem with -z # switch when comline is not empty.  Was
  445. overwriting existing comline instead of inserting in front of it.
  446. (Thanks to user LH).
  447.  
  448.  
  449. Changes in v1.7b (6aug91)
  450. --------------------------
  451.     Fix problem with Fortran programs.  Was causing "Floating point
  452. not loaded" error at application load time.  Hey, don't blame me, the
  453. bug is in the Fortran startup code!  (Thanks to users RS and DF).
  454.  
  455.     Disable control-C during swapping.  Would cause system hang and
  456. other strange behavior (especially by the user!).
  457.  
  458.     Bring back group shareware registration, by popular demand.
  459.  
  460.  
  461. Changes in v1.6d (21jul91)
  462. --------------------------
  463.     Fix state saving and restoring to work better with other TSR's.
  464. With a few TSR's, system would reliably hang when you exited the
  465. application back to DOS, if a shroom swap occurred in the application.
  466. (Thanks to user ML)
  467.  
  468.  
  469. Changes in v1.6c (22jun91)
  470. --------------------------
  471.     Get default target list from the COMSPEC environment string. So, if
  472. you use a shell other than COMMAND.COM, Shroom will automatically recognize
  473. it.  (Thanks to user MB)
  474.  
  475.     Fix problem in 1.6b, where swapping may have not been done with
  476. some applications.  Was failing to handle lowercase shell names correctly.
  477.  
  478.  
  479. Changes in v1.6b (14jun91)
  480. --------------------------
  481.     Only swap out specified shell programs.  Default list is COMMAND.COM.
  482. Add -t switch to specify others. (Thanks to user LH)
  483.  
  484.     Add -z switch to allow increasing the environment space of
  485. COMMAND.COM. (Thanks to user DM)
  486.  
  487.     The -v switch as part of its verbosity shows the shell program being
  488. executed and its command line.
  489.  
  490.  
  491. Changes in v1.5d (3may91)
  492. --------------------------
  493.     Search for the application in Shroom's home directory, too.
  494. (Thanks to user CS)
  495.  
  496.  
  497. Changes in v1.5c (26apr91)
  498. --------------------------
  499.     Fix a bug in 1.5b, when checking for unswappable blocks.  Caused
  500. some applications to swap zero bytes.  (Thanks to user JG)
  501.  
  502.     Mention CompuServe home library in license.
  503.  
  504.  
  505. Changes in v1.5b (29mar91)
  506. --------------------------
  507.     Fix a bug in swapping.    Leave alone any high blocks that are
  508. allocated by TSR's.  This caused shells to hang when Shroom was used
  509. with some software (such as QCache).  (Thanks to user RM)
  510.  
  511.  
  512. Changes in v1.5a (24mar91)
  513. --------------------------
  514.     Add -q switch for quiet mode.  Suppresses the "SHROOM: swapping..."
  515. messages but still lets error messages through.
  516.  
  517.     Add -p switch to force partial swaps.  If Shroom is unable to
  518. swap all of the application out, it normally asks you whether you want
  519. to proceed with the shell or return to the application.  With the -p
  520. switch, it always proceeds with the shell without asking you.
  521.  
  522.     Add -e errorlevel switch to allow you to specify the exit value
  523. returned by Shroom if it is unable to load the application.  This allows
  524. you to choose a value which does not conflict with those returned by
  525. your other applications.  This feature is only useful to those who make
  526. serious use of "if ERRORLEVEL..." statements in DOS batch files.
  527. (Thanks to user WB)
  528.  
  529.     Add -n switch to show program notes, and add more information
  530. to the notes.  There is now a help screen (-h), a shareware license
  531. screen (-l) and a notes screen (-n).
  532.  
  533.     Properly delete the temporary swap file when the user aborts
  534. the shell on disk full error (ie. when you pick 'A' to return to the
  535. application).  In previous versions of Shroom, the file was never
  536. deleted, thus leaving temporary files with names like "0A982331" lying
  537. around.
  538.  
  539.  
  540. Changes in v1.4d (14mar91)
  541. --------------------------
  542.     Shroom returns the ERRORLEVEL of the application program which
  543. was executed.  If the application fails to execute, then Shroom returns
  544. an ERRORLEVEL of 2.  Previously, Shroom always returned ERRORLEVEL 0
  545. if the application was successfully executed.
  546.  
  547.